/*
 AngularJS v1.7.8
 (c) 2010-2018 Google, Inc. http://angularjs.org
 License: MIT
*/
(function(l){'use strict';function f(a,b){for(var c=a.split(/\n/g),m=0;m<c.length;m++){var d=c[m];if(b>=d.length)b-=d.length;else return{h:m+1,f:b+1}}}function v(a){function b(){return a}var c=w[a];if(null!=c)return c;b.$$watchDelegate=function(b,c,d){var e=b.$watch(q,function(){c(a,a,b);e()},d);return e};w[a]=b;b.exp=a;b.expressions=[];return b}function D(a,b){function c(c){c=a(c);return null==c?c:c-b}if(0===b)return a;var d;c.$$watchDelegate=function(c,p,e){return d=c.$watch(a,function(a,d){p(null==
a?a:a-b,null==d?d:d-b,c)},e)};return c}function h(a,b){var c=this;this.b=a;this.e=b;if(void 0===b.other)throw e("reqother");this.d=function(a){return c.C(a)};this.d.$$watchDelegate=function(a,b,d){return c.P(a,b,d)};this.d.exp=a.exp;this.d.expressions=a.expressions}function n(a,b,c,d){var e=this;this.scope=b;this.oa=a;this.J=c;this.qa=d;this.U=void 0;this.K=q;this.ka=b.$watch(a.b,function(a){return e.ja(a)},d)}function r(a,b){h.call(this,a,b)}function x(){}function s(a,b,c,d){h.call(this,a,b);this.offset=
c;this.M=d}function y(){}function g(a,b){this.u=a;this.A=b;this.i=[];this.g=[];this.I=[];this.s="";this.q=null}function t(a,b,c){this.c=a;this.scope=b;this.W=void 0;this.J=c;var d=this;this.la=b.$watchGroup(a.g,function(a,b){d.Ea(a,b)})}function u(a,b){b.b=a.b;b.B=a.B;b.v=a.v;b.e=a.e;b.k=a.k;b.c=a.c;b.n=a.n;b.D=a.D;b.l=a.l}function z(a){u(a,this)}function d(a,b,c,d,e,p,f,g){this.text=a;this.index=b||0;this.w=c;this.M=d;this.Da=e;this.pa=!!p;this.u=f;this.A=!!g;this.D=this.c=this.k=this.e=this.v=this.B=
this.b=null;this.L=[];this.F=this.j=this.ca=this.O=this.da=this.l=this.n=this.o=this.a=this.d=null}function A(a){switch(a){case "{":return"}";case "[":return"]";case "(":return")";default:return null}}function E(a){switch(a){case "}":return"{";case "]":return"[";case ")":return"(";default:return null}}var w=Object.create(null);h.prototype.T=function(a){return this.e[this.R(a)]};h.prototype.C=function(a){return this.T(this.b(a))(a)};h.prototype.P=function(a,b,c){var d=new n(this,a,b,c);return function(){d.H()}};
n.prototype.ja=function(a){var b=this;this.K();a=this.oa.T(a);this.K=this.scope.$watch(a,function(a,d){return b.na(a,d)},this.qa)};n.prototype.na=function(a,b){this.J.call(null,a,a===b?a:this.U,this.scope);this.U=a};n.prototype.H=function(){this.ka();this.K()};x.prototype=h.prototype;r.prototype=new x;r.prototype.R=function(a){return void 0!==this.e[a]?a:"other"};y.prototype=h.prototype;s.prototype=new y;s.prototype.R=function(a){if(isNaN(a))return"other";if(void 0!==this.e[a])return a;a=this.M(a-
this.offset);return void 0!==this.e[a]?a:"other"};g.prototype.S=function(){this.s&&(null==this.q?this.i.push(this.s):(this.i.push(this.q.join("")),this.q=null),this.s="")};g.prototype.p=function(a){a.length&&(this.s?this.q?this.q.push(a):this.q=[this.s,a]:this.s=a)};g.prototype.G=function(a){this.S();this.I.push(this.i.length);this.g.push(a);this.i.push("")};g.prototype.ma=function(a){for(var b=Array(this.g.length),c=0;c<this.g.length;c++)b[c]=this.g[c](a);return b};g.prototype.C=function(a){for(var b=
0;b<this.I.length;b++){var c=a[b];if(this.A&&void 0===c)return;this.i[this.I[b]]=c}return this.i.join("")};g.prototype.ea=function(a,b){var c=this;this.S();if(!a||0!==this.g.length){if(0===this.i.length)return v("");this.u&&1<this.i.length&&e.throwNoconcat(b);if(0===this.g.length)return 1!==this.i.length&&this.r(),v(this.i[0]);var d=function(a){return c.C(c.ma(a))};d.$$watchDelegate=function(a,b,d){return c.P(a,b,d)};d.exp=b;d.expressions=Array(this.g.length);for(var f=0;f<this.g.length;f++)d.expressions[f]=
this.g[f].exp;return d}};g.prototype.P=function(a,b){var c=new t(this,a,b);return function(){c.H()}};t.prototype.Ea=function(a,b){var c=this.c.C(a);this.J.call(null,c,a===b?c:this.W,this.scope);this.W=c};t.prototype.H=function(){this.la()};var F=new z(new d("",0,null,null,null,!1,null,!1));d.prototype.pushState=function(){this.L.push(new z(this));u(F,this)};d.prototype.V=function(){0===this.L.length&&this.r();var a=this.L.pop();u(a,this)};d.prototype.m=function(a,b){a.lastIndex=this.index;var c=a.exec(this.text);
return null==c||!0!==b&&c.index!==this.index?null:(this.index=a.lastIndex,c)};d.prototype.t=function(a){return this.m(a,!0)};d.prototype.ha=function(a){return!!this.m(a)};d.prototype.Ba=function(a){this.o=[a];do{for(this.a=this.o.pop();this.a;)this.a();this.ga(this.a)}while(0<this.o.length)};d.prototype.r=function(){throw e("logicbug",this.text);};d.prototype.ga=function(a){void 0===a&&this.r()};var G=/\s*(\w+)\s*/g;d.prototype.ia=function(){var a=this.m(G);if(null==a)throw a=f(this.text,this.index),
e("reqarg",a.h,a.f,this.text);var b=a[1];if("select"===b||"plural"===b)throw a=f(this.text,this.index),e("reqcomma",b,a.h,a.f,this.text);a=f(this.text,this.index);throw e("unknarg",b,a.h,a.f,this.text);};d.prototype.Ca=function(a){this.da=a.index;this.O=a[0];this.ca="'"===this.O?H:I;this.a=this.ua};var H=/\\(?:\\|'|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{2}|[0-7]{3}|\r\n|\n|[\s\S])|'/g,I=/\\(?:\\|"|u[0-9A-Fa-f]{4}|x[0-9A-Fa-f]{2}|[0-7]{3}|\r\n|\n|[\s\S])|"/g;d.prototype.ua=function(){var a=this.t(this.ca);if(null==
a)throw a=f(this.text,this.da),e("untermstr",a.h,a.f,this.text);a[0]===this.O&&(this.a=null)};var J=/\s*(plural|select)\s*,\s*/g;d.prototype.ya=function(){var a=this.t(J);null==a&&this.ia();switch(a[1]){case "plural":this.a=this.za;break;case "select":this.a=this.Aa;break;default:this.r()}};d.prototype.za=function(){this.e=Object.create(null);this.n=this.N;this.a=this.xa};d.prototype.Aa=function(){this.e=Object.create(null);this.a=this.n=this.ba};var k=/[0]|(?:[1-9][0-9]*)/g,K=new RegExp("\\s*offset\\s*:\\s*("+
k.source+")","g");d.prototype.xa=function(){var a=this.m(K);this.v=null==a?0:parseInt(a[1],10);this.B=D(this.b,this.v);this.a=this.N};d.prototype.Q=function(a,b){if(void 0!==this.e[a]){var c=f(this.text,b);throw e("dupvalue",a,c.h,c.f,this.text);}};var L=/\s*(\w+)/g;d.prototype.ba=function(){var a=this.m(L);null==a?(this.d=(new r(this.b,this.e)).d,this.a=null):(this.k=a[1],this.Q(this.k,a.index),this.a=this.aa)};var M=new RegExp("\\s*(?:(?:=("+k.source+"))|(\\w+))","g");d.prototype.N=function(){var a=
this.m(M);null==a?(this.d=(new s(this.b,this.e,this.v,this.M)).d,this.a=null):(this.k=null!=a[1]?parseInt(a[1],10):a[2],this.Q(this.k,a.index),this.a=this.aa)};var N=/\s*\{/g;d.prototype.aa=function(){if(!this.ha(N)){var a=f(this.text,this.index);throw e("reqopenbrace",this.k,a.h,a.f,this.text);}this.D=this.index;this.c=new g(this.u,this.A);this.a=this.$};var O=/\\.|{{|}/g,P=/\\.|{{|#|}/g,B=/\\.|{{/g;d.prototype.fa=function(){var a=this.index,b;if(null==this.n){if(b=this.t(B),null==b)return this.F=
this.text.substring(a),this.index=this.text.length,null}else if(b=this.t(this.n===this.N?P:O),null==b)throw a=f(this.text,this.D),e("reqendbrace",this.k,a.h,a.f,this.text);var c=b[0];this.F=this.text.substring(a,b.index);return c};d.prototype.$=function(){var a=this.index,b=this.fa();null==b?(this.index=this.text.length,this.c.p(this.text.substring(a)),this.a=null):"\\"===b[0]?this.c.p(this.F+b[1]):(this.c.p(this.F),"{{"===b?(this.pushState(),this.o.push(this.ta),this.a=this.X):"}"===b?(this.e[this.k]=
this.c.ea(!1,this.text),this.a=this.n):"#"===b?this.c.G(this.B):this.r())};d.prototype.va=function(){this.c=new g(this.u,this.A);this.a=this.Z};d.prototype.Z=function(){var a=this.index,b=this.t(B);if(null==b)this.index=this.text.length,this.c.p(this.text.substring(a)),this.d=this.c.ea(this.pa,this.text),this.a=null;else{var c=b[0];"\\"===c[0]?this.c.p(this.text.substring(a,b.index)+c[1]):(this.c.p(this.text.substring(a,b.index)),this.pushState(),this.o.push(this.wa),this.a=this.X)}};d.prototype.wa=
function(){var a=this.d;this.V();this.c.G(a);this.a=this.Z};d.prototype.X=function(){this.d=null;this.o.push(this.sa);this.a=this.ra};d.prototype.ta=function(){var a=this.d;this.V();this.c.G(a);this.a=this.$};var Q=/\s*}}/g;d.prototype.sa=function(){if(null==this.m(Q)){var a=f(this.text,this.index);throw e("reqendinterp","}}",a.h,a.f,this.text);}null==this.d&&(this.d=this.w(this.b,this.Da),this.d.exp=this.b.exp,this.d.expressions=this.b.expressions);this.a=null};d.prototype.ra=function(){this.j=[];
this.l=this.index;this.a=this.Y};var R=/[[\]{}()'",]/g;d.prototype.Y=function(){var a=this.t(R);if(null==a){if(0===this.j.length){this.index=this.text.length;this.b=this.w(this.text.substring(this.l,this.index));this.b.exp=this.text.substring(this.l,this.index);this.b.expressions=this.b.expressions;this.a=null;return}throw e("badexpr",this.Ga(this.j[0]),this.text);}var b=a[0];if("'"===b||'"'===b)this.o.push(this.Y),this.Ca(a);else if(","===b){if(this.u)throw a=f(this.text,this.index),e("unsafe",this.u,
a.h,a.f,this.text);0===this.j.length&&(this.b=this.w(this.text.substring(this.l,a.index)),this.b.exp=this.text.substring(this.l,a.index),this.b.expressions=this.b.expressions,this.a=null,this.a=this.ya)}else if(null!=A(b))this.j.unshift(b);else{var c=E(b);null==c&&this.r();if(0<this.j.length){if(c===this.j[0]){this.j.shift();return}a=f(this.text,this.index);throw e("badexpr",b,a.h,a.f,A(this.j[0]),this.text);}this.index=a.index;this.b=this.w(this.text.substring(this.l,this.index));this.b.exp=this.text.substring(this.l,
this.index);this.b.expressions=this.b.expressions;this.a=null}};var S=["$$messageFormat","$delegate",function(a,b){if("{{"!==b.startSymbol()||"}}"!==b.endSymbol())throw e("nochgmustache");var c=a.interpolate;c.startSymbol=b.startSymbol;c.endSymbol=b.endSymbol;return c}],e,q,C,k=l.angular.module("ngMessageFormat",["ng"]);k.info({angularVersion:"1.7.8"});k.factory("$$messageFormat",["$parse","$locale","$sce","$exceptionHandler",function(a,b,c,f){function g(a,b,d){return function(g){try{return g=a?c.getTrusted(a,
g):c.valueOf(g),b&&void 0===g?g:C(g)}catch(h){f(e.interr(d,h))}}}return{interpolate:function(c,e,f,h){c=new d(c,0,a,b.pluralCat,g(f,h,c),e,f,h);c.Ba(c.va);return c.d}}}]);k.config(["$provide",function(a){e=l.angular.$interpolateMinErr;q=l.angular.noop;C=l.angular.$$stringify;a.decorator("$interpolate",S)}])})(window,window.Fa);
//# sourceMappingURL=angular-message-format.min.js.map
